import Layout from '@/layout'
export default {
    path: '/backstage',
    name: 'Backstage',
    component: Layout,
    // 路由元信息  其实就是存储数据的对象 我们可以在这里放置一些信息
    meta: {
        title: 'backstage',
        icon: 'people'
    },
    children: [
        // ly路由*******************************************
        {
            path: 'user', // 这里当二级路由的path什么都不写的时候 表示该路由为当前二级路由的默认路由
            name: 'user',
            component: () =>
                import ('@/views/backstage/user/index'),
            meta: { title: 'user', icon: 'component', name: 'user' }
        },
        // wlf的路由-----------------------------------------------------------------
        {
            path: 'menu',
            name: 'menu',
            component: () =>
                import ('@/views/backstage/menu/index'),
            meta: { title: 'menu', icon: 'component', name: 'menu' }
        },
        {
            path: 'permission',
            name: 'permission',
            component: () =>
                import ('@/views/backstage/permission/index'),
            meta: { title: 'permission', icon: 'component', name: 'permission' }
        },
        {
            path: 'logs',
            name: 'logs',
            component: () =>
                import ('@/views/backstage/logs/index'),
            meta: { title: 'logs', icon: 'component', name: 'log' }
        }
        // ly路由*******************************************

    ]

}